package com.olddriver.crm.mapper;


import com.olddriver.crm.domain.Carinformation;
import com.olddriver.crm.query.CarinformationQueryObject;

import java.util.List;

public interface CarinformationMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Carinformation record);

    Carinformation selectByPrimaryKey(Long id);

    List<Carinformation> selectAll();

    int updateByPrimaryKey(Carinformation record);

    int queryForTotal(CarinformationQueryObject qo);

    List<?> queryForRows(CarinformationQueryObject qo);

    void changeState(Long id);
}